package com.example.tool.erp.sdk.api.purchase;

import com.example.tool.erp.sdk.Pager;
import com.example.tool.erp.sdk.WdtErpException;
import com.example.tool.erp.sdk.api.purchase.dto.PurchaseProviderGoodsSearchRequest;
import com.example.tool.erp.sdk.api.purchase.dto.PurchaseProviderGoodsSearchResponse;
import com.example.tool.erp.sdk.api.purchase.dto.PurchaseProviderGoodsUploadRequest;
import com.example.tool.erp.sdk.api.purchase.dto.PurchaseProviderGoodsUploadResponse;
import com.example.tool.erp.sdk.impl.Api;

import java.util.List;

public interface PurchaseProviderGoodsAPI
{
	@Api(value = "purchase.ProviderGoods.upload")
	PurchaseProviderGoodsUploadResponse upload (List<PurchaseProviderGoodsUploadRequest> request) throws WdtErpException;

	@Api(value = "purchase.ProviderGoods.queryDetail", paged = true)
	PurchaseProviderGoodsSearchResponse queryWithDetail(PurchaseProviderGoodsSearchRequest request, Pager pager) throws WdtErpException;
}
